#!/bin/sh 

# 安装脚本

function install_zsh {
	echo "Installing zsh"
	apk add zsh zsh-autosuggestions zsh-calendar zsh-completions zsh-syntax-highlighting zsh-syntax-highlighting-doc zsh-vcs zsh-doc zsh-pcre zsh-theme-powerlevel10k fzf
}

function install_lldap {
	echo "Installing LLDAP"
	if [ ! -d /srv/lldap ]; then
		echo "Cloning LLDAP"
		git clone https://mirror.ghproxy.com/https://github.com/lldap/lldap /srv/lldap
	else
		echo "LLDAP already exists."
	fi
}


install_zsh
install_lldap
